The immune system refers to the body’s defense mechanisms which work together to recognize and eliminate harmful agents (like bacteria, viruses, fungi, parasites, toxins, and even abnormal host cells such as cancer cells) while maintaining tolerance to the body’s own tissues.